#ifndef _VAR_H_
#define _VAR_H_

#include <stdio.h>
#include <string.h>
#include <stdlib.h>

#define VAR_LENGTH 256

typedef struct Var{
	char *var_name;
	char *var_value;
}Var;

void init_var(void);

int save_var(void);

int dump_var(void);

void show_var(Var *);

/* find var by name */
Var* find_var(char *name);

/* update var by name */
int update_var();

/* delete var by name */
int del_var(char *name);

#endif

